<?php /* Smarty version Smarty-3.1.8, created on 2019-07-16 20:15:33
         compiled from "/Users/aron/GitRepos/PHPBroShop/broshop/admin/views/default/page/index.html" */ ?>
<?php /*%%SmartyHeaderCode:16587413365d2dbfe5bfed06-40025833%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '15aa8fcbbbe73be3aa15957b280b19ce89f1be28' => 
    array (
      0 => '/Users/aron/GitRepos/PHPBroShop/broshop/admin/views/default/page/index.html',
      1 => 1450315306,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16587413365d2dbfe5bfed06-40025833',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'url' => 0,
    'data' => 0,
    'v' => 0,
    'root' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5d2dbfe5cad819_29862001',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d2dbfe5cad819_29862001')) {function content_5d2dbfe5cad819_29862001($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("public/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<div class="right">
	<div class="now">
		<div class="now_l"></div>
		<div class="now_m">
			<span class="fl"><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</span>
			<span class="fr fabu"><a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=add">增加单页</a></span>
		</div>
		<div class="now_r"></div>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list mat5">
	<tr>
		<td class="bgtt" width="10"><input type="checkbox" name="checkall" onclick="bro_checkall(this, 'page_id')" /></td>
		<td class="bgtt" width="50">ID号</td>
		<td class="bgtt">单页名称</td>
		<td class="bgtt" width="88">操作</td>
	</tr>

	<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
	<tr>
		<td><input type="checkbox" name="id[]" value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
"></td>
		<td><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
</td>
		<td><a href="<?php echo $_smarty_tpl->tpl_vars['root']->value;?>
/index.php?m=page&a=index&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</a></td>
		<td>
			<a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=mod&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" class="admin_edit mar3">修改</a>
			<a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=del&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" class="admin_del" onclick="return confirm('你确定要删除吗？')">删除</a>
		</td>
	</tr>
	<?php } ?>
	<tr>
		<td class="bgtt"><input type="checkbox" name="checkall" onclick="bro_checkall(this, 'id')" /></td>
		<td class="bgtt aleft" colspan="6">
			<span class="fl"><button href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&a=del" onclick="return bro_cfall(this, 'id', 'form', '批量删除')">批量删除</button></span>
		
		</td>
	</tr>
	</table>
	</form>
</div>
		

<?php echo $_smarty_tpl->getSubTemplate ("public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>